package cn.edu.ujn.multiple.dao;

import java.util.List;

import cn.edu.ujn.multiple.model.Customer;

public interface CustomerMapper {
	int deleteByPrimaryKey(Integer custId);

	int insert(Customer record);

	int insertSelective(Customer record);

	Customer selectByPrimaryKey(Integer custId);

	List<Customer> findAll();

	List<Customer> findByUserId(Integer userId);
	
	List<Customer> findByDictId(Integer dictId);
	
	//动态查询顾客
	List<Customer> selectCustomerList(Customer customer);
	
	//计数顾客查询结果条目
	Integer selectCustomerListCount(Customer customer);

	int updateByPrimaryKeySelective(Customer record);

	int updateByPrimaryKey(Customer record);
}